//
// Created by jetkey on 18-8-14.
//

#ifndef IMICLIPTOOLS_MY_TEST_H
#define IMICLIPTOOLS_MY_TEST_H

#include <iostream>
#include <functional>

using namespace std;

using Printer = std::function<void (int type,const char* buff)>;

using Initor = std::function<bool (void **usrdata, int *fps,Printer)>;
using Step = std::function<bool (void *usrData, char *rgb,char *dep,char *out,int w,int h,Printer)>;
using Ender = std::function<void (void *usrData,Printer)>;

bool initText1(void **usrdata, int *fps,Printer print);
bool stepTest1(void *usrData, char *rgb,char *dep,char *out,int w,int h,Printer print);
void endTest1(void *usrData,Printer print);


#endif //IMICLIPTOOLS_MY_TEST_H

